How to add an option group to a form.Choose the 'Forms' tab in the Database window, select the desired form, and choose the 'Design' button. Choose the 'Control Wizard' button on the Toolbox, and click the 'Options Group' button on the Toolbox. Select the desired location for the option group, and follow the directions of the wizard. NOTE 1: The 'Developer Tools' must be installed. NOTE 2: If the Database window is not active, activate the Database window. 1) Choose the 'Forms' tab in the Database window. < 2) Select the desired form from the list box. (The selected form is highlighted.) 3) Choose the 'Design' button. (The selected form appears in Form Design view.) 4) Make sure that the 'Control Wizard' button located on the toolbox is depressed. 5) Choose the 'Option Group' button on the 'Form Design' toolbar. (The mouse pointer changes to a cross sign with a small picture of an option group.) 6) Click where the upper-left corner of the option group is to be placed. (The Option Group Wizard dialog box appears.) 7) Enter the labels for all the options in the option group in the 'Label Names' column: a) Place the insertion point on an empty row. b) Enter a label. (Another empty row appears below the label.) c) Press TAB to advance to the next row. d) Repeat steps 7)a) through 7)c) to enter the labels for all the options. 8) Choose the 'Next' button. 9) Specify whether to set a default choice: a) To set a default choice: 1] Select the 'Yes, the default choice is' radio button. 2] Select the desired choice from the drop-down list next to the radio button. NOTE: When the form is in the Form view, the default choice will always appear selected until some other choice is selected. Set a default choice to facilitate data entry when there is a most commonly chosen option within the group of options. b) To not to set a default choice, select the 'No, I don't want a default' button. NOTE: When the form is in the Form view, no choices appear selected initially. 10) Choose the 'Next' button. 10) (Optional) Change the value associated with each option in the 'Values' column. NOTE: Access automatically assign a value for each option. Change the values when needed. a) Select the value to change. (The value is highlighted.) b) Enter the new value. c) Press TAB to advance to the next row. d) Repeat steps 10)a) through 10)c) for all the values that need to be changed. NOTE: If the form is linked to a table, the appropriate value will be stored in the table when its associated option is selected. 11) Choose the 'Next' button. (The next Option Group Wizard dialog box appears.) 12) (Special Case) If the form is linked to a table: a) Do one of the following: 1] To save the value for later use, select the 'Save the value for later use' button. 2] To store the value in the database: a] Select the 'Store the value in this field' button. b] Select the desired field from the drop-down list next to the button. b) Choose the 'Next' button. 13) Select the type of control to use for the options in the option group in the 'What type of options controls do you want in the option group?' group. NOTE: The types from which to select include: option buttons, check boxes, and toggle buttons. 14) Select how the control is displayed on the form in the 'What style would you like to use?' group. NOTE: The styles from which to select include: etched, flat, raised, sunken, and shadowed. 15) Choose the 'Next' button. 16) Enter a label for the option group in the 'What caption do you want for the option group?' field. 17) Choose the 'Finish' button to display the option group on the form. (Access automatically adjusts the size of the option group to fit all the options.) Knowledge-Pak Desktop Suite (TM) Edition 5 Copyright (c) 1994-1997 by ServiceWare Inc. Subject to the terms set forth in the end-user license agreement. All rights reserved. Subject to the terms set forth in the end-user license agreement. All rights reserved. |